
<div class="modal-header">
    <h4 class="modal-title">设置分销体系</h4>
</div>
<div class="modal-body">

<div class="container-fluid form-horizontal">

	  <ui-select ng-model="level.code" theme="bootstrap" >
          <ui-select-match placeholder="分销体系">
            {{$select.selected.title}}
          </ui-select-match>
          <ui-select-choices repeat="item.code as item in levelarr | filter: $select.search">
            <span ng-bind-html="item.title | highlight: $select.search"></span>
          </ui-select-choices>
    </ui-select>
		
    <input type="text" class="form-control mt20" placeholder="备注"
        ng-model="remark"
        >
</div>

</div>
<div class="modal-footer">
	<button class="btn btn-warning" type="button" ng-click="save()">设置</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>
